
import View=laya.ui.View;
import Dialog=laya.ui.Dialog;
module ui {
    export class bgUI extends View {
		public btnStart:Laya.Button;
		public btnRank:Laya.Button;

        public static  uiView:any ={"type":"View","props":{"width":400,"height":1136},"child":[{"type":"Button","props":{"y":591,"x":167,"width":200,"var":"btnStart","labelSize":50,"labelColors":"#ffffff","label":"开始游戏","height":59}},{"type":"Label","props":{"y":146,"x":56,"width":440,"text":"盖大楼","height":100,"fontSize":80,"color":"#FFFFFF","align":"center"}},{"type":"Button","props":{"y":699,"x":170,"width":207,"var":"btnRank","labelSize":35,"label":"   查看排行","height":64}}]};
        constructor(){ super()}
        createChildren():void {
        
            super.createChildren();
            this.createView(ui.bgUI.uiView);

        }

    }
}

module ui {
    export class mapUI extends View {
		public ani1:Laya.FrameAnimation;
		public ani2:Laya.FrameAnimation;
		public ani3:Laya.FrameAnimation;
		public ani4:Laya.FrameAnimation;
		public ani5:Laya.FrameAnimation;
		public ani6:Laya.FrameAnimation;
		public m1:Laya.Image;
		public pos1:Laya.Image;
		public m5:Laya.Image;
		public pos5:Laya.Image;
		public pos9:Laya.Image;
		public m2:Laya.Image;
		public pos2:Laya.Image;
		public m3:Laya.Image;
		public pos3:Laya.Image;
		public m13:Laya.Image;
		public pos13:Laya.Image;
		public m6:Laya.Image;
		public pos6:Laya.Image;
		public m4:Laya.Image;
		public pos4:Laya.Image;
		public m10:Laya.Image;
		public pos10:Laya.Image;
		public m7:Laya.Image;
		public pos7:Laya.Image;
		public m11:Laya.Image;
		public pos11:Laya.Image;
		public m8:Laya.Image;
		public pos8:Laya.Image;
		public m12:Laya.Image;
		public pos12:Laya.Image;
		public m14:Laya.Image;
		public pos14:Laya.Image;
		public m15:Laya.Image;
		public pos15:Laya.Image;
		public m16:Laya.Image;
		public pos16:Laya.Image;
		public worker:Laya.Image;
		public imgDice:Laya.Image;
		public lbl_score:Laya.Label;
		public lbl_tili:Laya.Label;

        public static  uiView:any ={"type":"View","props":{"width":400,"height":1136},"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"map/main_gameimage/main_back_2.png"}},{"type":"Image","props":{"y":434,"x":13,"skin":"map/main_gameimage/main_shadow.png","name":"shadow"}},{"type":"Panel","props":{"y":0,"x":0,"width":640,"name":"map","height":1136},"child":[{"type":"Image","props":{"y":359,"x":249,"var":"m1","skin":"map/main_gameimage/main_block_0.png","name":"r_1"}},{"type":"Image","props":{"y":126,"x":249,"var":"pos1","skin":"map/main_bg/main_block_9.png"}},{"type":"Image","props":{"y":408,"x":169,"var":"m5","skin":"map/main_gameimage/main_block_0.png","name":"r_5"}},{"type":"Image","props":{"y":175,"x":169,"var":"pos5","skin":"map/main_bg/main_block_5.png"}},{"type":"Image","props":{"y":457,"x":90,"skin":"map/main_gameimage/main_block_0.png","name":"r_9"}},{"type":"Image","props":{"y":224,"x":90,"var":"pos9","skin":"map/main_bg/main_block_7.png"}},{"type":"Image","props":{"y":408,"x":327,"var":"m2","skin":"map/main_gameimage/main_block_0.png","name":"r_2"}},{"type":"Image","props":{"y":175,"x":327,"var":"pos2","skin":"map/main_bg/main_block_5.png"}},{"type":"Image","props":{"y":457,"x":404,"var":"m3","skin":"map/main_gameimage/main_block_0.png","name":"r_3"}},{"type":"Image","props":{"y":224,"x":404,"var":"pos3","skin":"map/main_bg/main_block_7.png"}},{"type":"Image","props":{"y":506,"x":10,"var":"m13","skin":"map/main_gameimage/main_block_0.png","name":"r_13"}},{"type":"Image","props":{"y":273,"x":10,"var":"pos13","skin":"map/main_bg/main_block_8.png"}},{"type":"Image","props":{"y":457,"x":246,"var":"m6","skin":"map/main_gameimage/main_block_0.png","name":"r_6"}},{"type":"Image","props":{"y":224,"x":246,"var":"pos6","skin":"map/main_bg/main_block_7.png"}},{"type":"Image","props":{"y":506,"x":482,"var":"m4","skin":"map/main_gameimage/main_block_0.png","name":"r_4"}},{"type":"Image","props":{"y":273,"x":482,"var":"pos4","skin":"map/main_bg/main_block_6.png"}},{"type":"Image","props":{"y":505,"x":167,"var":"m10","skin":"map/main_gameimage/main_block_0.png","name":"r_10"}},{"type":"Image","props":{"y":273,"x":167,"var":"pos10","skin":"map/main_bg/main_block_2.png"}},{"type":"Image","props":{"y":506,"x":325,"var":"m7","skin":"map/main_gameimage/main_block_0.png","name":"r_7"}},{"type":"Image","props":{"y":273,"x":325,"var":"pos7","skin":"map/main_bg/main_block_9.png"}},{"type":"Image","props":{"y":555,"x":246,"var":"m11","skin":"map/main_gameimage/main_block_0.png","name":"r_11"}},{"type":"Image","props":{"y":322,"x":246,"var":"pos11","skin":"map/main_bg/main_block_10.png"}},{"type":"Image","props":{"y":555,"x":402,"var":"m8","skin":"map/main_gameimage/main_block_0.png","name":"r_8"}},{"type":"Image","props":{"y":322,"x":402,"var":"pos8","skin":"map/main_bg/main_block_11.png"}},{"type":"Image","props":{"y":604,"x":323,"var":"m12","skin":"map/main_gameimage/main_block_0.png","name":"r_12"}},{"type":"Image","props":{"y":371,"x":323,"var":"pos12","skin":"map/main_bg/main_block_12.png"}},{"type":"Image","props":{"y":555,"x":88,"var":"m14","skin":"map/main_gameimage/main_block_0.png","name":"r_14"}},{"type":"Image","props":{"y":322,"x":88,"var":"pos14","skin":"map/main_bg/main_block_13.png"}},{"type":"Image","props":{"y":604,"x":165,"var":"m15","skin":"map/main_gameimage/main_block_0.png","name":"r_15"}},{"type":"Image","props":{"y":371,"x":165,"var":"pos15","skin":"map/main_bg/main_block_1.png"}},{"type":"Image","props":{"y":653,"x":243,"var":"m16","skin":"map/main_gameimage/main_block_0.png","name":"r_16"}},{"type":"Image","props":{"y":420,"x":243,"var":"pos16","skin":"map/main_bg/main_block_3.png"}}]},{"type":"Panel","props":{"y":735,"x":0,"width":640,"height":300},"child":[{"type":"Image","props":{"y":111,"x":0,"skin":"map/main_bg/rbg.jpg","name":"bg"}},{"type":"Image","props":{"y":64,"x":1,"var":"worker","skin":"map/main_bg/worker.png"},"child":[{"type":"Label","props":{"y":-30,"x":29,"width":100,"text":"15646","fontSize":30,"color":"#000000","align":"center"}}]},{"type":"Image","props":{"y":156,"x":520,"skin":"map/main_bg/nb_11.png","scaleY":0.5,"scaleX":0.5},"child":[{"type":"Label","props":{"y":-78,"x":7,"width":100,"text":"15646","scaleY":2,"scaleX":2,"fontSize":30,"color":"#000000","align":"center"}}]},{"type":"Image","props":{"y":153,"x":339,"skin":"map/main_bg/nb_12.png","scaleY":0.5,"scaleX":0.5},"child":[{"type":"Label","props":{"y":-74,"x":-35,"width":100,"text":"15646","scaleY":2,"scaleX":2,"fontSize":30,"color":"#000000","align":"center"}}]},{"type":"Image","props":{"y":144,"x":180,"skin":"map/main_bg/nb_13.png","scaleY":0.5,"scaleX":0.5},"child":[{"type":"Label","props":{"y":-69,"x":-6,"width":100,"text":"15646","scaleY":2,"scaleX":2,"fontSize":30,"color":"#000000","align":"center"}}]}]},{"type":"Image","props":{"y":-91,"x":160,"var":"imgDice","skin":"map/main_bg/shaizi/1-1.png"},"compId":70},{"type":"Panel","props":{"y":0,"x":0,"width":640,"height":1136},"child":[{"type":"Label","props":{"y":122,"x":19,"text":"当前收入","fontSize":30}},{"type":"Label","props":{"y":173,"x":77,"var":"lbl_score","text":"250","fontSize":30}},{"type":"Label","props":{"y":133,"x":466,"text":"剩余体力","fontSize":30}},{"type":"Label","props":{"y":184,"x":524,"var":"lbl_tili","text":"250","fontSize":30}}]}],"animations":[{"nodes":[{"target":70,"keyframes":{"y":[{"value":3,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":0},{"value":"dice1","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}]}}],"name":"ani1","id":1,"frameRate":24,"action":0},{"nodes":[{"target":70,"keyframes":{"y":[{"value":3,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}]}}],"name":"ani2","id":1,"frameRate":24,"action":0},{"nodes":[{"target":70,"keyframes":{"y":[{"value":-70,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/3-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}],"name":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"name","index":0},{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"name","index":10}]}}],"name":"ani3","id":1,"frameRate":24,"action":0},{"nodes":[{"target":70,"keyframes":{"y":[{"value":-70,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/4-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}]}}],"name":"ani4","id":1,"frameRate":24,"action":0},{"nodes":[{"target":70,"keyframes":{"y":[{"value":-70,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/5-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}]}}],"name":"ani5","id":1,"frameRate":24,"action":0},{"nodes":[{"target":70,"keyframes":{"y":[{"value":-70,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":0},{"value":257,"tweenMethod":"linearNone","tween":true,"target":70,"key":"y","index":10}],"x":[{"value":172,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":0},{"value":302,"tweenMethod":"linearNone","tween":true,"target":70,"key":"x","index":10}],"var":[{"value":"","tweenMethod":"linearNone","tween":false,"target":70,"key":"var","index":10}],"skin":[{"value":"map/main_bg/shaizi/1-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":0},{"value":"map/main_bg/shaizi/1-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":1},{"value":"map/main_bg/shaizi/1-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":2},{"value":"map/main_bg/shaizi/1-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":3},{"value":"map/main_bg/shaizi/2-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":4},{"value":"map/main_bg/shaizi/2-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":5},{"value":"map/main_bg/shaizi/2-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":6},{"value":"map/main_bg/shaizi/2-4.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":7},{"value":"map/main_bg/shaizi/3-2.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":8},{"value":"map/main_bg/shaizi/3-3.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":9},{"value":"map/main_bg/shaizi/6-1.png","tweenMethod":"linearNone","tween":false,"target":70,"key":"skin","index":10}]}}],"name":"ani6","id":1,"frameRate":24,"action":0}]};
        constructor(){ super()}
        createChildren():void {
        
            super.createChildren();
            this.createView(ui.mapUI.uiView);

        }

    }
}
